package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import com.mbc.common.param.CriteriaParams;
import com.mbc.rmt.data.PaymentTypeDataList;
import com.mbc.rmt.entities.PaymentType;
import com.mbc.rmt.entities.PaymentTypeDetail;
import com.mbc.rmt.entities.PaymentTypeRpt;

public interface PaymentTypeDAO {
	public void create(PaymentType entity)throws SQLException;
	public void update(PaymentType entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public PaymentType find(long key)throws SQLException;
	public List<PaymentType> findAll()throws SQLException;
	public PaymentTypeDataList findPaymentTypes(CriteriaParams cri)throws SQLException;
	public ArrayList<PaymentTypeDetail> findPaymentTypeDetails(long paymentTypeID) throws SQLException;
	public PaymentType findPaymentTypeByCode(String code) throws SQLException;
	public PaymentType getPaymentType(String code) throws SQLException;
	ResultSet preparePaymentTypeReport(PaymentTypeRpt info) throws SQLException;
}
